encode Redirect URI
abstract suspend fun encodeRedirectURI(error: AuthorizationRequestError, errorDispatchDetails: ErrorDispatchDetails, encryptionParameters: EncryptionParameters?): DispatchOutcome.RedirectURI(source)
Method forms a suitable authorization response, based on the error and the provided errorDispatchDetails, and then encodes this response to a URI. To this URI, the wallet (caller) must redirect its authorization response
This method is applicable when errorDispatchDetails contains a ErrorDispatchDetails.responseMode which is one of ResponseMode.Query, ResponseMode.QueryJwt, ResponseMode.Fragment or ResponseMode.FragmentJwt
Return
a URI pointing to the verifier to which the wallet(caller) must redirect its response. This URI carries the authorization response
Parameters
error
The error to dispatch ResponseMode.Query, ResponseMode.QueryJwt, ResponseMode.Fragment or ResponseMode.FragmentJwt
error Dispatch Details
Details on how to dispatch the error